﻿<%@ page import="java.lang.Math,
                 java.util.Date,
                 jt.classic.system.context.ISystemContext"%>
<%
String contextPath = ISystemContext.getContextPath();
String jqPath = contextPath + "/resources/jquery";
long timestamp = Math.round(new Date().getTime()/1000);
%>
<link type="text/css" rel="stylesheet" href="<%=contextPath%>/resources/css/reset.css" />
<link type="text/css" rel="stylesheet" href="<%=jqPath%>/ui/css/cupertino/jquery-ui.css" />
<link type="text/css" rel="stylesheet" href="<%=jqPath%>/validationEngine/css/validationEngine.jquery.css" />
<link type="text/css" rel="stylesheet" href="<%=jqPath%>/validationEngine/css/template.css" />
<link type="text/css" rel="stylesheet" href="<%=jqPath%>/dataTables/css/jquery.dataTables.css" />	

<script type="text/javascript" src="<%=contextPath%>/resources/lib/js/mustache.js"></script>
<script type="text/javascript" src="<%=jqPath%>/ui/js/jquery-1.8.3.js"></script>
<script type="text/javascript" src="<%=jqPath%>/ui/js/jquery-ui-1.9.2.custom.js"></script>
<script type="text/javascript" src="<%=jqPath%>/ui/development-bundle/ui/i18n/jquery.ui.datepicker-zh-CN.js"></script>
<script type="text/javascript" src="<%=jqPath%>/validationEngine/js/languages/jquery.validationEngine-zh_CN.js"></script>
<script type="text/javascript" src="<%=jqPath%>/validationEngine/js/jquery.validationEngine.js"></script>
<script type="text/javascript" src="<%=jqPath%>/form/js/jquery.form.js"></script>		
<script type="text/javascript" src="<%=jqPath%>/dataTables/js/jquery.dataTables.js"></script>
<script type="text/javascript" src="<%=jqPath%>/jqueryExtend/jquery.grooveextend.js"></script>
<script type="text/javascript" src="<%=jqPath%>/jqueryView/js/jquery.grooveview.js"></script>
<script type="text/javascript">
<!--
var context = '<%=contextPath%>';

$(function() {
	$(document).data('SERVER', {
		contextPath: context,
		timestamp: <%=timestamp%>
	});
});
//-->
</script>